package cate.common.table.activity.godequip.sheet;

import cate.common.table.ESheet;
import cate.common.table.activity.godequip.row.GodEquipPoolRow;
import cate.common.util.random.RWList;

import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

public class GodEquipPoolSheet extends ESheet<GodEquipPoolRow> {
    public Map<Integer, List<GodEquipPoolRow>> groupMap;
    @Override
    public String getSheetName() {
        return "神装寻宝奖池";
    }

    @Override
    protected void onLoaded() {
        super.onLoaded();
        groupMap = getList().stream().collect(Collectors.groupingBy(item -> item.group));
    }
}
